package com.x.part3_代码块;

/**
 * ClassName: UserTest
 * Package: IntelliJ IDEA
 * Description:
 * Written by HanXu
 * Create 2024.03.03 1:34
 */
public class UserTest {
    public static void main(String[] args) {
        User u1 =new User();
        System.out.println(u1.getInfo());

        User u2 = new User("Sherbledore","83rhf1b.4358");
        System.out.println(u2.getInfo());


        System.out.println("......................");

        User1 u3 =new User1();
        System.out.println(u3.getInfo());

        User1 u4 = new User1("Sherbledore","83rhf1b.4358");
        System.out.println(u4.getInfo());

    }
}
